package etnorservice.etnor_service.service.impl;

import etnorservice.etnor_service.domain.po.ApiCheckLog;
import etnorservice.etnor_service.mapper.ApiCheckLogMapper;
import etnorservice.etnor_service.service.ApiCheckLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2024/07/02/19:36
 **/
@Service
public class ApiCheckLogServiceImpl implements ApiCheckLogService {
    @Autowired
    ApiCheckLogMapper apiCheckLogMapper;
    @Override
    public void updateLog(ApiCheckLog apiCheckLog) {
         apiCheckLogMapper.updateLog(apiCheckLog);
    }

    @Override
    public ApiCheckLog getApiCheckLog() {
        return apiCheckLogMapper.getApiCheckLog();
    }
}
